package com.nov.multidatasource;

import com.nov.multidatasource.config.RunBatchConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableConfigurationProperties(RunBatchConfig.class)
@EnableScheduling
public class MultidatasourceApplication {

    public static void main(String[] args) {
        SpringApplication.run(MultidatasourceApplication.class, args);
        System.out.println("*************************");
        System.out.println("*                       *");
        System.out.println("*   大吉大利，今晚顺利     *");
        System.out.println("*                       *");
        System.out.println("*************************");
        System.out.println("       \\     /          ");
        System.out.println("        \\___/           ");
        System.out.println("       (o_o)            ");
        System.out.println("       <)   )\\          ");
        System.out.println("        /   \\           ");
        System.out.println("      _/_____\\_         ");
    }

}
